if then formula with cell format

User uploaded file

Hey,

im doing some contract work with my business and working formula to get understanding on finacial positions.

as you can see I have set up a income at the top, expenses through the middle and then surplus and debt at the bottom.


I am now trying to create a system where I can work out the remaining left to be paid as I pay and expense and mark it in red.

So am wanting to auto sum the expense Coolum and the have the red formatted cells omitted from that calculation.


is this a if then formula?

Posted on Sep 14, 2016 5:40 PM

Reply
1 reply

Sep 14, 2016 6:18 PM in response to Gavin.mc

Number cannot sum based on formatting. You could write an applescript to perform this task if you want and you would have to remember to cause the script to run.


Never mind... I missed the fact that you are using Numbers on iOS. I do not think you can run Applescript on Numbers for iOS.


Here is an alternate way. Place an underscore"_" in front of the value (or any other non-numeric character) to make the content of the cell a string rather than a number. In that case the numeric value will be zero:

User uploaded file


you can even add conditional formatting to highlight red when the cell contains an underscore:

User uploaded file

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

if then formula with cell format

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.